<%--
  Created by IntelliJ IDEA.
  User: linzhihong
  Date: 2020/6/15
  Time: 16:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>修改简历</title>
    <style type="text/css">
        body {
            background-color:#00b38a;
            text-align:center;
        }

        .lp-login {
            position:absolute;
            width:500px;
            height:300px;
            top:50%;
            left:50%;
            margin-top:-250px;
            margin-left:-250px;
            background: #fff;
            border-radius: 4px;
            box-shadow: 0 0 10px #12a591;
            padding: 57px 50px 35px;
            box-sizing: border-box
        }


        .lp-login .submitBtn {
            display:block;
            text-decoration:none;
            height: 48px;
            width: 150px;
            line-height: 48px;
            font-size: 16px;
            color: #fff;
            text-align: center;
            background-image: -webkit-gradient(linear, left top, right top, from(#09cb9d), to(#02b389));
            background-image: linear-gradient(90deg, #09cb9d, #02b389);
            border-radius: 3px
        }


        input[type='text'] {
            height:30px;
            width:250px;
        }

        span {
            font-style: normal;
            font-variant-ligatures: normal;
            font-variant-caps: normal;
            font-variant-numeric: normal;
            font-variant-east-asian: normal;
            font-weight: normal;
            font-stretch: normal;
            font-size: 14px;
            line-height: 22px;
            font-family: "Hiragino Sans GB", "Microsoft Yahei", SimSun, Arial, "Helvetica Neue", Helvetica;
        }

    </style>
</head>
<body>

<form action="edit" method="post">
    <table class="lp-login">
        <c:if test="${not empty resumeEntity.id}">
            <tr>
                <td align="right"><span>编号</span></td>
                <td align="center">
                    <input type="text" id="id" name="id" value="${resumeEntity.id}"></input>
                </td>
            </tr>
        </c:if>
        <tr>
            <td align="right"><span>姓名</span></td>
            <td align="center">
                <input type="text" id="name" name="name" value="${resumeEntity.name}"></input>
            </td>
        </tr>
        <tr>
            <td align="right"><span>地址</span></td>
            <td align="center">
                <input type="text" id="address" name="address" value="${resumeEntity.address}"></input>
            </td>
        </tr>
        <tr>
            <td align="right"><span>手机号码</span></td>
            <td align="center">
                <input type="text" id="phone" name="phone" value="${resumeEntity.phone}"></input>
            </td>
        </tr>
        <tr align="center">
            <td colspan="2">
                <c:if test="${not empty resumeEntity.id}">
                    <input class="submitBtn" type="submit" id="submit" name="submit_button" value="修改" />
                </c:if>
                <c:if test="${empty resumeEntity.id}">
                    <input class="submitBtn" type="submit" id="submit" name="submit_button" value="添加" />
                </c:if>
            </td>
        </tr>
    </table>
</form>

</body>
</html>
